package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.OtherController;
import com.leadingsoft.pwxk.repository.OtherControllerRepository;
import com.leadingsoft.pwxk.services.AbstractService;

@Service
public class OtherControllerServiceImpl extends AbstractService<OtherController> {

	@Autowired
	OtherControllerRepository otherControllerRepository;

	@Override
	public void saveAll(List<OtherController> models) {
		otherControllerRepository.saveAll(models);

	}

	@Override
	public void deleteAll() {
		otherControllerRepository.deleteAll();
	}

	@Override
	public void save(OtherController model) {
		otherControllerRepository.save(model);
	}

}
